package com.h3bpm.web.reback.service;

import org.springframework.dao.DataAccessException;

import java.util.List;
import java.util.Map;

/**
 * @author villwang
 * @date 2020/08/27
 **/
public interface RebackService {
    //获取数据库最大的id  name 主键编码
    public int getMaxId(String tableName,String name);
    //执行update sql语句
    public Boolean performSql(String sql);
    //执行查询语句
    List<Map<String, Object>> queryForList(String sql);
    //保存回写日志信息
    public int saveWriteBackLog(String bizObjectSchemaCode, String returnJson, String instanceId, String status);
    //招标代理号新增申请回写
    public boolean applicationAgencyNo(String instanceId, String workflowCode, String reportNo);
    //咨询报告号新增申请回写
    public boolean consultingReportNumber(String instanceId, String workflowCode, String reportNo);
    //造价报告号新增回写
    public boolean costReportNo(String instanceId, String workflowCode, String reportNo);

}
